package net.hn.hnms.biz.plan.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.hn.hnms.sys.common.core.enums.CoalInfo;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel("采掘接续")
public class MiningContinuationVo  extends BaseVO{

    @ApiModelProperty(value = "煤矿编号")
    private String mineCode;

    @ApiModelProperty(value = "煤矿名称")
    private String mineName;

    @ApiModelProperty(value = "工作面名称")
    private String miningFaceName;

    @ApiModelProperty(value = "生产状态")
    private String status;

    @ApiModelProperty(value = "本周计划")
    private BigDecimal weeksPlan;

    @ApiModelProperty(value = "本周推进度")
    private String advanceWeek;

    @ApiModelProperty(value = "累计回采长度")
    private String cumulativeRecovery;

    @ApiModelProperty(value = "剩余长度")
    private String remainingLength;

    @ApiModelProperty(value = "参数")
    private String parameter;

    @ApiModelProperty(value = "搬家道面时间")
    private String estimateEndDate;

    @ApiModelProperty(value = "接续工作面")
    private String relocation;

    @ApiModelProperty(value = "采掘失衡预警")
    private String warning;


    @ApiModelProperty(value = "煤岩类型")
    private String coalRockType;

    @ApiModelProperty(value = "掘进形式")
    private String drivingForm;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty("公司名称")
    private String companyName;

    @ApiModelProperty("集团编码")
    private String companyCode;

    @ApiModelProperty("回采面")
    private Integer miningTotal  = 0;;

    @ApiModelProperty("智能回采面")
    private Integer intellectMiningTotal = 0;

    @ApiModelProperty("掘进面")
    private Integer drivageTotal = 0;

    @ApiModelProperty("智能掘进面")
    private Integer intellectDrivageTotal = 0;

    @ApiModelProperty("搬家倒面详情")
    private List<DimMiningFaceVO> miningFaceVOS;



    public void setCompanyNames(String companyCode) {

        this.companyName = CoalInfo.getCompanyNameByCompanyCode(companyCode);
    }
    public void setMineNames(String mineName) {

        this.mineName = CoalInfo.getMineNameByMineCode(mineName);
    }


}
